import { IWidget, LGraphNode } from "litegraph.js";
// 参考于 litegraph.js文件的   LGraphCanvas.prototype.drawNodeWidgets
export abstract class CpcBaseWidge implements IWidget {
    public abstract name: string | null;

    public abstract value: any;

    public abstract draw(ctx: CanvasRenderingContext2D, node: LGraphNode, width: number, posY: number, height: number): void;
}
